Single Purpose Variables

$npx mdskill add obra/clank/Single Purpose Variables

Prevent error masking by assigning single roles to variables.

  • Eliminates confusion when variables represent multiple data types.
  • Replaces special values with explicit error handling patterns.
  • Separates success counts from failure indicators into distinct variables.
  • Improves code clarity by removing hidden meanings from state.

SKILL.md

.github/skills/Single Purpose VariablesView on GitHub ↗

No skill content available yet.

More from obra/clank